/* global */
body {
  /* 把字体搞得好看一些 */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

  margin: auto;

  background-color: #f6f6f6;
}

/* 这个字体过于高大上，看的眼花缭乱。
@font-face {
  font-family: "Alako";
  src: url("./Alako/Alako.woff");
}
*/

/* Layout */

h1 {
  text-align: center;
  color: blueviolet;
  text-shadow: 1px 1px 2px orange, 0 0 1em yellow, 0 0 0.2em yellow;

  margin: 0px;
  padding: 0px;

  background-color: rgba(0, 0, 0, 0.746);
}

.container {
  margin: 32px auto 4px auto;
}

.container h2 {
  color: blue;
  margin-left: 32px;
  margin-bottom: 2rem;
}
/*  swiper */

.swiper-container {
  width: 320px;
  height: 180px;

  margin: auto;
  text-align: center;
}


/* cards-container */

.container .cards-container {

  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  
}

.container .cards-container .skills {
  box-sizing: border-box;
  margin: 0.8rem;
  flex: 1 0 233px;
  max-width: 250px;
  height: 138px;
  border: 1px solid black;
  box-shadow: 1px 2px 2px 0px grey;
  border-radius: 6px;
}

.container .cards-container .skills h2 {
  margin: 6px auto 0px 1rem;

  text-shadow: 1px 2px 1px 5px black;
}

.container .cards-container .skills p  {
  margin: 0px;
  padding: 8px 6px;
  text-align: center;
  border-top: 1px double rgba(0, 0, 255, 0.685);
}

/* swiper pages */

.swiper-container {
  width: 88%;
  height: 360px;
}

.swiper-container .swiper-wrapper .swiper-slide {
  width: 100%;
  height: auto;

  overflow: scroll;
}

.swiper-container .swiper-wrapper .swiper-slide h2 {
  margin: 36px auto 0px auto;
  background-color: rgba(128, 128, 128, 0.30);
}

.swiper-container .swiper-slide .time {
  color: gray;
  margin-top: 0px;
  margin-bottom: 25px;
}

.swiper-container .swiper-slide p {
  margin: auto 42px;
  line-height: 2rem;
}

.swiper-container .swiper-slide ol {
  margin-left: 45px;
  margin-bottom: 32px;
}

.swiper-container .swiper-slide ol li {
  text-align: left;
  padding-left: 1rem;
}

/* Footer Layout */

footer {
  position: fixed;
  bottom: 0px;
  z-index: 9999 !important; 

  width: 100%;
  margin: auto;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);

  display: flex;
}

@media screen and (max-width: 600px) {
  footer {
    display: flex;
    flex-direction: column;
  }

  footer .full-selfintroduction  {
    display: none;
  }
}

footer div h2 {
  text-align: center;
  font-size: 25px;
  margin-top: 20px;
}

footer div p, footer div ul { 
  text-align: center;
}

footer .full-education {
  flex: 2 2 160px;
}

footer .english-level {
  flex: 1 2 100px;
}

footer .full-selfintroduction {
  flex: 8 1 400px;
}
